package com.tim.test.junit;//package com.example.test.junit;
//
//import org.junit.Test;
//import org.mybatis.spring.boot.test.autoconfigure.MybatisTest;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase;
//import org.springframework.transaction.annotation.Transactional;
//
//import com.born.mapper.UserMapper;
//
//@MybatisTest
//// 连接真实的数据库，否则连接一个内存中的库，测试会失败
//@AutoConfigureTestDatabase(replace = AutoConfigureTestDatabase.Replace.NONE)
//public class MybatisTestClass {
//	@Autowired
//	UserMapper userMapper;
//	
//	@Test
//	@Transactional
//	public void test() {
//		String account = "";
//		System.out.println(userMapper.selectUserByAccount(account));
//	}
//}
